import request from '@/utils/request'

// 查询报生成记录列表
export function listReportGenerationLog(query) {
  return request({
    url: '/system/reportGenerationLog/list',
    method: 'get',
    params: query
  })
}

// 查询报生成记录详细
export function getReportGenerationLog(generationId) {
  return request({
    url: '/system/reportGenerationLog/' + generationId,
    method: 'get'
  })
}

// 新增报生成记录
export function addReportGenerationLog(data) {
  return request({
    url: '/system/reportGenerationLog',
    method: 'post',
    data: data
  })
}

// 修改报生成记录
export function updateReportGenerationLog(data) {
  return request({
    url: '/system/reportGenerationLog',
    method: 'put',
    data: data
  })
}

// 删除报生成记录
export function delReportGenerationLog(generationId) {
  return request({
    url: '/system/reportGenerationLog/' + generationId,
    method: 'delete'
  })
}
